
public class practice_7 {
	 public static void main(String[] args) {
	        int score = 66;
	        int quotient = score / 10;
	        char level;
	        switch(quotient) { 
	            case 10: 
	            case 9: 
	                level = 'A';
	                break; 
	            case 8: 
	                level = 'B';
	                break; 
	            case 7: 
	                level = 'C';
	                break; 
	            case 6: 
	                level = 'D';
	                break; 
	            default: 
	                level = 'E';
	        }
	        System.out.printf("得分等级：%c%n", level);
	    }
}
